#!/usr/bin/python3
# _*_ coding: utf-8 _*_
#
# Copyright (C) 2024 - 2024 heihieyouheihei, Inc. All Rights Reserved 
#
# @Time    : 2024/8/18 23:51
# @Author  : Yuyun
# @File    : 单组A+B.py
# @IDE     : PyCharm


"""
示例1
输入：
1 2

输出：
3
"""

import  sys

for line in sys.stdin:      #每一行末尾存在换行符'\n'
    a = line.split()
    print(int(a[0]) + int(a[1]))

#或者
list_num = list(map(int,input().split(' ')))
print(sum(list_num))
